package com.yorick.authority.service;

import com.alibaba.fastjson.JSONObject;
import com.yorick.authority.entitys.ResourceDto;
import com.yorick.authority.modal.request.menu.MenuAddRequest;
import com.yorick.authority.modal.request.menu.MenuDetailRequest;
import com.yorick.authority.modal.request.menu.MenuEditRequest;
import com.yorick.authority.modal.request.menu.MenuListRequest;

import java.util.List;
import java.util.Map;

public interface MenuService {

    List<JSONObject> menuList(MenuListRequest request);

    Map<String, Object> addMenu(MenuAddRequest request);

    Map<String, Object> editMenu(MenuEditRequest request);

    ResourceDto menuDetail(MenuDetailRequest request);
}
